/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class Sess {
    /**
     * sess.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * sess.expiry
     * 失效时间
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date expiry;

    /**
     * sess.uid
     * 用户id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long uid;

    /**
     * sess.sesskey
     * 
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String sesskey;

    /**
     * sess.ip
     * 
     * CHAR(15)
     *
     * @mbggenerated
     */
    private String ip;

    /**
     * sess.login_time
     * 登录时间
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date loginTime;

    /**
     * sess.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * sess.status
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * sess.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * sess.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * sess.attribute
     * 
     * VARCHAR(2000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * sess.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * sess.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * sess.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * sess.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Date getExpiry() {
        return expiry;
    }

    /* @mbggenerated */
    public void setExpiry(Date expiry) {
        this.expiry = expiry;
    }

    /* @mbggenerated */
    public Long getUid() {
        return uid;
    }

    /* @mbggenerated */
    public void setUid(Long uid) {
        this.uid = uid;
    }

    /* @mbggenerated */
    public String getSesskey() {
        return sesskey;
    }

    /* @mbggenerated */
    public void setSesskey(String sesskey) {
        this.sesskey = sesskey == null ? null : sesskey.trim();
    }

    /* @mbggenerated */
    public String getIp() {
        return ip;
    }

    /* @mbggenerated */
    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    /* @mbggenerated */
    public Date getLoginTime() {
        return loginTime;
    }

    /* @mbggenerated */
    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
}